package com.cskaoyan.bean.param;

import org.apache.shiro.crypto.SecureRandomNumberGenerator;
import org.apache.shiro.util.ByteSource;

public class FileParam {
    //图片域名前缀
    public static final String URL_PRE = "http://localhost:8083/";
    //图片访问地址
    public static final String VISIT_NAME = "classpath:/static/";
    //图片储存地址
    public static final String PATH_NAME_WINDOWS = "\\target\\classes\\static";
    public static final String PATH_NAME_MAC = "/target/classes/static";

    public static final String BASE_PATH = System.getProperty("user.dir");

    //图片应用地址
    public static final String PIC_APP = "pic/";
    //加盐算法
    public static final ByteSource BYTE_SOURCE = new SecureRandomNumberGenerator().nextBytes();
    //加盐字符串
    public static final String SALT = "$ls7jy8dp5dyq8wjzxch8y2";

    public static final String PIC_HOMEPAGE = "/pic/0f0254a191082854478d67d662eda2b9.jpeg";

}
